//
//  WDPersonalSettingViewModel.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/17.
//

#import "TYZBaseViewModel.h"
#import "WDUserInfoUpdateRequest.h" // 修改用户信息
#import "WDUploadFileRequest.h" // 上传头像

NS_ASSUME_NONNULL_BEGIN

/// 个人设置
@interface WDPersonalSettingViewModel : TYZBaseViewModel

/// 0 从相册选择；1 拍照
@property(nonatomic, assign) int photoType;


@property (nonatomic, strong) WDUserInfoUpdateReqModel *reqModel;



/// 修改用户信息
/// - Parameter completion: completion description
- (void)requestWithUserInfoUpdate:(RequestCompletionBlock)completion;

/// 上传图片
/// - Parameters:
///   - imageModel: imageModel description
///   - completion: completion description
- (void)requestWithUploadImage:(EDSImageVideoModel *)imageModel completion:(RequestCompletionBlock)completion;

@end

NS_ASSUME_NONNULL_END
